<template>
  <el-table :data="datas" style="width: 100%">
    <el-table-column prop="date" label="序号" width="80">
      <template slot-scope="scope">
        {{scope.$index + 1}}
      </template>
    </el-table-column>
    <el-table-column prop="relation" label="关系">
    </el-table-column>
    <el-table-column prop="name" label="姓名">
    </el-table-column>
    <el-table-column prop="phone" label="联系电话">
    </el-table-column>
    <el-table-column prop="birthDate" label="出生日期">
      <template slot-scope="scope">
        {{scope.row.birthDate | moment('YYYY-MM-DD') }}
      </template>
    </el-table-column>
    <el-table-column prop="education" label="学历">
    </el-table-column>
    <el-table-column prop="politicsStatus" label="政治面貌">
    </el-table-column>
    <el-table-column prop="workUnit" label="工作单位">
    </el-table-column>
    <el-table-column prop="duty" label="职务">
    </el-table-column>
  </el-table>
</template>
<script>
export default {
  name: 'RelationalTable',
  props: {
    datas: Array
  },
  data () {
    return {}
  },
  mounted () {
  }
}
</script>
<style lang="less" scoped>
</style>
